package com.yangxu.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * Created by yangxu on 2017/10/27.
 */
@TableName("Student")
public class Student {

    @TableId(value="s_id", type= IdType.AUTO)
    private  int sId;

    @TableField("s_name")
    private String sName;

    public Student() {

    }

    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }
}
